<?php

namespace App\Jobs;

use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldBeUnique;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Facades\Log;

class DenounceJob implements ShouldQueue
{
    use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;

    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'denounce';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = '谴责';
    /**
     * Create a new job instance.
     *
     * @return void
     */

    protected $arguments;
    public function __construct($arguments)
    {
        $this->arguments = $arguments;
    }

    /**
     * Execute the job.
     *
     * @return void
     */
    public function handle()
    {
        //
        print_r($this->arguments);
        //Log::info(__FILE__);
    }
}
